package com.hancheng.ordercloud.feign.service;

import com.hancheng.commoncloud.framework.result.Response;
import com.hancheng.ordercloud.business.entity.dto.SubtractQuantityDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "goods-cloud", contextId = "order-goods-contextId")
public interface GoodsFeignService {
    @PostMapping("/api/goods/feign/subtractQuantity")
    Response<Void> subtractQuantity(@RequestBody SubtractQuantityDTO subtractQuantityDTO);
}
